﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 售后服务
    /// </summary>
    public class EM_OrderAfterSales
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        /// <summary>
        /// 订单编号
        /// </summary>
        public Guid OrderId { get; set; }
        /// <summary>
        /// 产品ID
        /// </summary>
        public List<string>? ProductIds { get; set; }
        /// <summary>
        /// 退货原因
        /// </summary>
        public string? Reason { get; set; }
        /// <summary>
        /// 请求退货日期
        /// </summary>
        public DateTime RequestDate { get; set; }

        ///
        ///客服反馈
        ///
        public string? Customerservice { get; set; }

        ///
        ///退货方式
        ///
        public Selectionreturnmethod Returnmethod { get; set; }
    }
    public enum Selectionreturnmethod
    {
        Doortodoorpickup,/*上门取货*/
        Selfdelivery/*自主寄件*/
    }
}
